//
//  UIDevice+SystemVersion.m
//  cam
//
//  Created by VIETHUNG on 12/20/13.
//  Copyright (c) 2013 DanielLe. All rights reserved.
//

#import "UIDevice+SystemVersion.h"

@implementation UIDevice (SystemVersion)

+ (CGFloat)iosVersion
{
    return [[[UIDevice currentDevice] systemVersion] floatValue];
}

+ (BOOL)checkIphone5
{
    if([[UIDevice currentDevice]userInterfaceIdiom]==UIUserInterfaceIdiomPhone)
    {
        if ([[UIScreen mainScreen] bounds].size.height == 568)
        {
            
            return true;
        }
        else
        {
            return false;
        }
    }
    return false;
}

@end
